package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 盘点单子对象 hmz_inventory_detail
 * 
 * @author ruoyi
 * @date 2024-10-30
 */
public class HmzInventoryDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 子表ID */
    private Long id;

    /** 主表ID */
    @Excel(name = "主表ID")
    private Long masterId;

    /** 物品ID */
    @Excel(name = "物品ID")
    private Long itemId;

    /** RFID编码 */
    @Excel(name = "RFID编码")
    private String rfidCode;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 是否为缺失记录（用于标红显示）*/
    private Boolean isMissing = false;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setMasterId(Long masterId) 
    {
        this.masterId = masterId;
    }

    public Long getMasterId() 
    {
        return masterId;
    }
    public void setItemId(Long itemId) 
    {
        this.itemId = itemId;
    }

    public Long getItemId() 
    {
        return itemId;
    }
    public void setRfidCode(String rfidCode) 
    {
        this.rfidCode = rfidCode;
    }

    public String getRfidCode() 
    {
        return rfidCode;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public void setIsMissing(Boolean isMissing) 
    {
        this.isMissing = isMissing;
    }

    public Boolean getIsMissing() 
    {
        return isMissing;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("masterId", getMasterId())
            .append("itemId", getItemId())
            .append("rfidCode", getRfidCode())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .append("isMissing", getIsMissing())
            .toString();
    }
}
